package models

import "gorm.io/gorm"

type Food struct {
	Name  string
	Price float64
	Image string
	gorm.Model
}

func (f *Food) CreateFood() error {
	return DB.Create(&f).Error
}
